<template>
  <div class="comment-list">
    <comment v-for="id in list"
             :key="id"
             :id="id"></comment>
  </div>
</template>

<script>
import Comment from './Comment'
export default {
  name: 'comment-list',
  props: {
    list: Array
  },
  components: {
    Comment
  }
}
</script>

<style>
</style>